package com.yuxi.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import java.util.Date;
import java.math.BigDecimal;
import java.util.List;
import com.yuxi.pubInter.AbstractDomainVO;
import com.yuxi.pubInter.FileVO;
import com.yuxi.pubInter.FrontController;
import com.yuxi.pubInter.baseVO.AbstractPageVO;

/**
*    @author com.yuxi
*    @Date 2023-10-18 23:45:30
*    @description ProductDomainVO      产品
*/

@Data

@ApiModel("产品DomainVO")
public class ProductDomainVO extends AbstractDomainVO<String> {



    /**
     * 创建时间
    */

    @ApiModelProperty(value = "创建时间")
    private Date createTime;


    /**
     * 更新时间
    */

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;


    /**
     * 排序
    */

    @ApiModelProperty(value = "排序")
    private Integer sortNum;


    /**
     * 是否显示
     * 1:是:Y,0:否:N
    */

    @ApiModelProperty(value = "是否显示 1:是:Y,0:否:N")
    private Integer showFlag;
    @ApiModelProperty(value = "是否显示")
    private String showFlagDesc;


    /**
     * 产品名称
    */

    @ApiModelProperty(value = "产品名称")
    private String name;


    /**
     * 型号
    */

    @ApiModelProperty(value = "型号")
    private String spec;


    /**
     * 包装
    */

    @ApiModelProperty(value = "包装")
    private String packing;


    /**
     * 小图
    */

    @ApiModelProperty(value = "小图")
    private String smallImg;


    /**
     * 大图
    */

    @ApiModelProperty(value = "大图")
    private String bigImg;


    /**
     * wap小图
    */

    @ApiModelProperty(value = "wap小图")
    private String wapSmallImg;


    /**
     * wap大图
    */

    @ApiModelProperty(value = "wap大图")
    private String wapBigImg;


    /**
     * 分类ID
    */

    @ApiModelProperty(value = "分类ID")
    private String productTypeId;


    /**
     * 简要说明
    */

    @ApiModelProperty(value = "简要说明")
    private String remark;


    /**
     * 广告图
    */

    @ApiModelProperty(value = "广告图")
    private String banner;


    /**
     * wap 广告图
    */

    @ApiModelProperty(value = "wap 广告图")
    private String wapBanner;


    /**
     * 是否推荐
     * 1:是:Y,0:否:N
    */

    @ApiModelProperty(value = "是否推荐 1:是:Y,0:否:N")
    private Integer recommendFlag;
    @ApiModelProperty(value = "是否推荐")
    private String recommendFlagDesc;


    /**
     * 新产品标识
     * 1:是:Y,0:否:N
    */

    @ApiModelProperty(value = "新产品标识 1:是:Y,0:否:N")
    private Integer newFlag;
    @ApiModelProperty(value = "新产品标识")
    private String newFlagDesc;


    /**
     * 产品简介
    */

    @ApiModelProperty(value = "产品简介")
    private String intro;


    /**
     * 产品特性
    */

    @ApiModelProperty(value = "产品特性")
    private String features;


    /**
     * 施工工艺
    */

    @ApiModelProperty(value = "施工工艺")
    private String process;


    /**
    * 小图
    */
    @ApiModelProperty(value = "小图")
    private List<FileVO> smallImgList;
    public List<FileVO> getSmallImgList() {
        smallImgList = FrontController.getFileNamedAndImgPathList(getSmallImg());
        return smallImgList;
    }
    /**
    * 大图
    */
    @ApiModelProperty(value = "大图")
    private List<FileVO> bigImgList;
    public List<FileVO> getBigImgList() {
        bigImgList = FrontController.getFileNamedAndImgPathList(getBigImg());
        return bigImgList;
    }
    /**
    * wap小图
    */
    @ApiModelProperty(value = "wap小图")
    private List<FileVO> wapSmallImgList;
    public List<FileVO> getWapSmallImgList() {
        wapSmallImgList = FrontController.getFileNamedAndImgPathList(getWapSmallImg());
        return wapSmallImgList;
    }
    /**
    * wap大图
    */
    @ApiModelProperty(value = "wap大图")
    private List<FileVO> wapBigImgList;
    public List<FileVO> getWapBigImgList() {
        wapBigImgList = FrontController.getFileNamedAndImgPathList(getWapBigImg());
        return wapBigImgList;
    }
    /**
    * 广告图
    */
    @ApiModelProperty(value = "广告图")
    private List<FileVO> bannerList;
    public List<FileVO> getBannerList() {
        bannerList = FrontController.getFileNamedAndImgPathList(getBanner());
        return bannerList;
    }
    /**
    * wap 广告图
    */
    @ApiModelProperty(value = "wap 广告图")
    private List<FileVO> wapBannerList;
    public List<FileVO> getWapBannerList() {
        wapBannerList = FrontController.getFileNamedAndImgPathList(getWapBanner());
        return wapBannerList;
    }
}